package com.wanmait.model.pojo;

import java.io.Serializable;
import java.util.Date;

/**
    * 代理人
    */
public class Agent implements Serializable {
    private Integer id;

    /**
    * 代理人姓名
    */
    private String name;

    /**
    * 所属企业id
    */
    private Integer supplierId;

    /**
    * 部门
    */
    private String department;

    /**
    * 职位
    */
    private Integer post;

    /**
    * 委托品类（数据字典中获取）
    */
    private Integer category;

    /**
    * 委托内容
    */
    private String content;

    /**
    * 委托额度
    */
    private String quota;

    /**
    * 起始日期
    */
    private Date startDate;

    /**
    * 终止日期
    */
    private Date terminationTate;

    /**
    * 委托书（附件）
    */
    private String powerAttorney;

    /**
    * 备注
    */
    private String remarks;

    /**
    * 0删除  1未删
    */
    private Boolean enable;

    /**
    * 添加人id
    */
    private Integer addStaffId;

    /**
    * 添加时间
    */
    private Date addTime;

    /**
    * 修改人id
    */
    private Integer updateStaffId;

    /**
    * 修改时间
    */
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public Integer getPost() {
        return post;
    }

    public void setPost(Integer post) {
        this.post = post;
    }

    public Integer getCategory() {
        return category;
    }

    public void setCategory(Integer category) {
        this.category = category;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getQuota() {
        return quota;
    }

    public void setQuota(String quota) {
        this.quota = quota;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public Date getTerminationTate() {
        return terminationTate;
    }

    public void setTerminationTate(Date terminationTate) {
        this.terminationTate = terminationTate;
    }

    public String getPowerAttorney() {
        return powerAttorney;
    }

    public void setPowerAttorney(String powerAttorney) {
        this.powerAttorney = powerAttorney;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Integer getAddStaffId() {
        return addStaffId;
    }

    public void setAddStaffId(Integer addStaffId) {
        this.addStaffId = addStaffId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getUpdateStaffId() {
        return updateStaffId;
    }

    public void setUpdateStaffId(Integer updateStaffId) {
        this.updateStaffId = updateStaffId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", name=").append(name);
        sb.append(", supplierId=").append(supplierId);
        sb.append(", department=").append(department);
        sb.append(", post=").append(post);
        sb.append(", category=").append(category);
        sb.append(", content=").append(content);
        sb.append(", quota=").append(quota);
        sb.append(", startDate=").append(startDate);
        sb.append(", terminationTate=").append(terminationTate);
        sb.append(", powerAttorney=").append(powerAttorney);
        sb.append(", remarks=").append(remarks);
        sb.append(", enable=").append(enable);
        sb.append(", addStaffId=").append(addStaffId);
        sb.append(", addTime=").append(addTime);
        sb.append(", updateStaffId=").append(updateStaffId);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}